<?php 
/**
 * @page html_module HTML Module
 * 
 * This simple module outputs any HTML you specify in the paramaters of the module.
 * 
 */
class HtmlModule extends GigaModule
{
	var $name = "Raw HTML";
	
	var $configuration = array(
		'html_content' => array('type' => 'textarea', 
					'label' => 'Enter raw HTML here','validate'=>VALID_NOT_EMPTY)
	);
	
	function render($params)
	{
		if(!isset($params['html_content']))
		{
			return '';
		}
		return $params['html_content'];		
	}
}

?>